package com.atguigu.gmall.user.service;

import com.atguigu.gmall.model.user.UserAddress;
import com.atguigu.gmall.model.user.UserInfo;

import java.util.List;

public interface UserInfoService {
    //校验用户名密码是否正确
    UserInfo checkInfo(UserInfo userInfo);

    //查询当前用户的所有收货地址集合
    List<UserAddress> getUserAddress(String userId);

}
